package org.zxyj.system.domain;

import java.util.List;

import org.zxyj.core.entity.BaseEntity;

/**
 * 用户
 * 
 * @author zhaoyong
 * @version 2016年2月18日
 */
public class User extends BaseEntity<User> {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 3369837855173605011L;

	/**
	 * 用户名
	 */
	private String username;

	/**
	 * 用户密码
	 */
	private String password;

	/**
	 * 用户角色
	 */
	private List<UserRole> userRoles;

	/**
	 * 用户身份
	 */
	private String identify;

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public List<UserRole> getUserRoles() {
		return userRoles;
	}

	public void setUserRoles(List<UserRole> userRoles) {
		this.userRoles = userRoles;
	}

	public String getIdentify() {
		return identify;
	}

	public void setIdentify(String identify) {
		this.identify = identify;
	}

}